package com.boot.study.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description
 * @Author likz
 * @Date 2024/8/6 17:23
 **/
@TableName("db_database")
@Data
public class DBDatabase implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * url
     */
    @TableField(value = "url")
    private String url;

    /**
     * 管理用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "`password`")
    private String password;

    /**
     * 最大数量 按照100来计算
     */
    @TableField(value = "quantity")
    private String quantity;

    /**
     * 是否删除_0正常 1删除
     */
    @TableField(value = "is_deleted")
    private Byte isDeleted;

    private static final long serialVersionUID = 1L;


}
